<template>
	<div class="unit">
		<el-descriptions :column="3">
			<el-descriptions-item :span="3" label="会议名称:">{{ message?.baseInfo?.meetingName }}</el-descriptions-item>
			<el-descriptions-item label="评审时间:">{{ message?.baseInfo?.reviewTime }}</el-descriptions-item>
			<el-descriptions-item label="预计评审耗时:">{{ message?.baseInfo?.estimatedReviewTime }}</el-descriptions-item>
			<el-descriptions-item label="评委到场时间:">{{ message?.baseInfo?.arrivalTime }}</el-descriptions-item>
			<el-descriptions-item :span="3" label="评审地点:">{{ message?.baseInfo?.reviewAddress }} </el-descriptions-item>
			<el-descriptions-item label="联系人:">{{ message?.baseInfo?.contactPerson }}</el-descriptions-item>
			<el-descriptions-item label="联系方式:">{{ message?.baseInfo?.contactInformation }}</el-descriptions-item>
		</el-descriptions>
	</div>
</template>

<script lang="ts" setup>
import { toRefs, defineProps } from 'vue';

const props = defineProps({
	message: {
		type: Object,
		default: () => {
			return {};
		},
	},
});

const { message } = toRefs(props);
</script>

<style lang="scss" scoped>
.unit {
	padding: 20px;
	background-color: #fff;
}
:deep(.el-descriptions__label) {
	width: 15% !important;
}
</style>
